package com.zr.subclass.model;

import com.zr.planclass.util.ErrorMessage;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by Lenovo on 2019/12/22.
 */
@Data
public class SubClassAddVo {
    @NotBlank(message = ErrorMessage.PLANCLASSUPDATECODEISNOT)
    private String code;
    @NotBlank(message = ErrorMessage.PLANCLASSUPDATENAMEISNOT)
    private String name;
    private String remark;
    @NotNull(message = ErrorMessage.PLANCLASSUPDATESTASTUSISNOT)
    private Boolean status;
}
